package com.zhouzhou.fastjava.query;

import com.google.common.base.CaseFormat;

/**
 * Created by zheqiang.liu on 7/19/2017.
 */
public class CamelCaseToUnderscoreColumnMapping implements ColumnMapping {

    @Override
    public String mapping(String column) {
        return CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, column);
    }

}
